﻿@if(Request.IsAuthenticated) {
    <text><b>@Context.User.Identity.Name</b>!
    @Html.ActionLink("Sign out", "Signout", "Account")</text>
}
else {
    @Html.ActionLink("Sign in", "Logon", "Account")
}